package top.chj.day18.genericity.methodType;


/**
 * @Auther:小陈的Java
 */
public class Method3 {
    public static <E> E method1(E e){
        System.out.println(e);
        return e;
    }
    public static <T> void method2(T t){
        System.out.println(t);
    }


    public static void main(String[] args) {
        MethodType.method1(33.3);
        Integer integer = MethodType.method2(8);
        String str = MethodType.method2("小红");

    }
}